#include "statisticsdialog.h"
#include "ui_statisticsdialog.h"

statisticsDialog::statisticsDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::statisticsDialog)
{
    ui->setupUi(this);
}

statisticsDialog::~statisticsDialog()
{
    delete ui;
}

void statisticsDialog::changeEvent(QEvent *e)
{
    QDialog::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        ui->retranslateUi(this);
        break;
    default:
        break;
    }
}

void statisticsDialog::setStatisticsData( QString _text )
{
    ui->textBrowser->setText( _text );
}
